package com.guguskins.back.mapper;

import com.guguskins.back.entity.GuCurrencyRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-07-21
 */
public interface GuCurrencyRecordMapper extends BaseMapper<GuCurrencyRecord> {
    List<GuCurrencyRecord> findByPage(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize,@Param("userName")String userName,
                                      @Param("sourceType")Integer sourceType,@Param("creatTime")String creatTime);
    Long findBycount();

    List<GuCurrencyRecord> findLike(@Param("userName")String userName,@Param("sourceType")Integer sourceType,@Param("creatTime")String creatTime);
}
